package com.yule.flow.dao;

import com.yule.flow.model.FlowMessage;
import com.yule.flow.model.FlowMessageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface FlowMessageDao {
    long countByExample(FlowMessageExample example);

    int deleteByExample(FlowMessageExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FlowMessage record);

    int insertSelective(FlowMessage record);

    List<FlowMessage> selectByExample(FlowMessageExample example);

    FlowMessage selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FlowMessage record, @Param("example") FlowMessageExample example);

    int updateByExample(@Param("record") FlowMessage record, @Param("example") FlowMessageExample example);

    int updateByPrimaryKeySelective(FlowMessage record);

    int updateByPrimaryKey(FlowMessage record);
}